package com.jycrm.service.bankcode.impl;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import com.jycrm.dao.bankcode.IBankcodeDao;
import com.jycrm.dao.callreport.IScheduleDao;
import com.jycrm.dao.common.information.IContactRecordDao;
import com.jycrm.dao.folder.IFileDao;
import com.jycrm.domain.bankcode.CrmBankcode;
import com.jycrm.domain.callreport.CrmSchedule;
import com.jycrm.domain.channel.area.CrmAreas;
import com.jycrm.domain.common.information.CrmContactRecord;
import com.jycrm.domain.datadict.CrmDataDict;
import com.jycrm.domain.folder.CrmFile;
import com.jycrm.domain.targetInterface.BaseTarget;
import com.jycrm.domain.user.CrmUser;
import com.jycrm.service.bankcode.IBankcodeService;
import com.jycrm.service.callreport.IScheduleService;
import com.jycrm.service.datadict.DataDictManager;
import com.jycrm.util.DataDictConstantValue;
import com.jycrm.util.OperateUtil;



public class BankcodeServiceImpl implements IBankcodeService{

	private IBankcodeDao bankcodeDao;

	public List getBankcodeSelectionList() {
		List list = bankcodeDao.getBankcodeList();
		List dataList = new ArrayList();
		Iterator it = list.iterator();
		while(it.hasNext()){        
        	CrmBankcode tmpData=(CrmBankcode)it.next();
            String[][] value = new String[1][2];
            value[0][0] = tmpData.getBankcode();
            value[0][1] = tmpData.getBankname();
            dataList.add(value);
        }
        return dataList;
	}

	public void setBankcodeDao(IBankcodeDao bankcodeDao) {
		this.bankcodeDao = bankcodeDao;
	}
	

}

